/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package preka.prefuse.visual;

/**
 *
 * @author vhbarros
 */
public class VisualInstance {

    private int m_numInstance;
    private double m_x;
    private double m_y;
    private boolean m_hasMoved;
    private int m_cluster;
    private int m_visualCluster;
    private String m_className;
    private boolean m_isMoving;


    public VisualInstance() {

    }

    public VisualInstance(int numInstance, double x, double y, boolean hasMoved, String className) {

        m_numInstance = numInstance;
        m_x = x;
        m_y = y;
        m_hasMoved = hasMoved;
        m_cluster = -9999;
        m_visualCluster = -9999;
        m_className = className;
        m_isMoving = false;
    }

    public int getNumInstance() {
        return m_numInstance;
    }

    public double getX() {
        return m_x;
    }

    public double getY() {
        return m_y;
    }

    public boolean hasMoved() {
        return m_hasMoved;
    }

    public int getCluster() {
        return m_cluster;
    }

    public int getVisualCluster() {
        return m_visualCluster;
    }

    public String getClassName() {
        return m_className;
    }

    public boolean isMoving() {
        return m_isMoving;
    }

    public void setNumInstance(int numInstance) {
        m_numInstance = numInstance;
    }

    public void setX(double x) {
        m_x = x;
    }

    public void setY(double y) {
        m_y = y;
    }

    public void setHasMoved(boolean hasMoved) {
        m_hasMoved = hasMoved;
    }

    public void setCluster(int cluster) {
        m_cluster = cluster;
    }

    public void setVisualCluster(int visualCluster) {
        m_visualCluster = visualCluster;
    }

    public void setIsMoving(boolean isMoving) {
        m_isMoving = isMoving;
    }

}
